<?php

class SettingsTableSeeder extends Seeder {

    public function run()
    {
        DB::table('settings')->delete();
        $entries = array(
            array(
                'id' => 1,
                'site_url'      => 'http://ordermeal.loc/mobile/login',
                'company_name'      => '华丰国货',
                'master_email'      => '',
                'address'      => '',
                'service_phone'      => '',
                'mobile'      => '',
                'company_instroductions'      => '',

                'app_url'      => 'https://api.weixin.qq.com/cgi-bin',
                'app_id'      => 'wx61fb38f73c8b651a',
                'app_secret'      => '2042c8b0214c59eaf993684e1ec544a5',
                'access_token'      => '',
                'access_token_expires_in'      => '',
                'integral_scale'      => '0.01',
                'integral_pay_scale'      => '100',
            ),

        );
        DB::table('settings')->insert( $entries );

    }

}
